package cn.itsource.org.mapper;

import cn.itsource.basic.mysuper.MyBaseMapper;
import cn.itsource.org.domain.WxUser;
import org.apache.ibatis.annotations.Select;

public interface WxUserMapper  extends MyBaseMapper<WxUser> {
    @Override
    default Class<WxUser> getTClass() {
        return WxUser.class;
    }
    //通过openId 获取微信
    @Select("select * from t_wxuser where  openid = #{openid}")
    WxUser findByOpenId(String openid);
}
